<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>提交订单 | 聚点团购</title>
<jsp:include page="home/style.jsp" />
<jsp:include page="home/vForm.jsp" />
</head>
<body>
<div class="topbg"></div>
<div class="container">
	<s:include value="/page/home/top.jsp" />
    <div class="main">
    	<s:include value="/page/home/left.jsp" />
        <div class="content">
        	<div class="today_tuan">
            	<div class="cont_top"></div>
                <div class="cont_body">
                	<div class="regist">
                    	<div class="regist_tit"><span>提交订单</span></div>
                    	<form action="<s:url value="/order/%{tuanGou.id }/createOfMes"/>" method="post">
	                        <table class="buylist">
	                        	<tr>
	                            	<th>项目</th>
	                            	<th class="tlc w80">数量</th>
	                                <th class="w15"></th>
	                            	<th class="tlc w50">价格</th>
	                                <th class="w15"></th>
	                            	<th class="tlc w80">总价</th>
	                            </tr>
	                            <tr class="brd_blue">
	                            	<td class="w360">${tuanGou.simpleDescribe}</td>
	                            	<s:hidden name="order.amount" id="amount"/>
	                            	<!--<s:hidden name="id" value="%{tuanGou.id}"/>
	                            	--><td class="tlc"><input type="text" class="buy_num" id="count" value="0"/></td>
	                            	<td>x</td>
	                            	<td class="tlc"><span class="bold" id="price">¥${tuanGou.currentPrice}</span></td>
	                                <td class="tlc">=</td>
	                                <td class="tlc"><span class="bold fosize24 total">￥0</span></td>
	                            </tr>
	                            <tr>
	                            	<td colspan="4" class="red"><span class="bold">应付总额</span></td>
	                                <td class="red tlc">=</td>
	                                <td class="red tlc"><span class="bold fosize24 total">￥0</span></td>
	                            </tr>
	                            <tr>
	                            	<td colspan="5"><span class="bold">请输入您的手机号：</span></td>
	                            </tr>
	                            <tr>
	                            	<td colspan="5"><s:textfield cssClass="phone_num" name="phone" value="%{currentUser.phone}"/>&nbsp;&nbsp;<span class="grey">重要：购买成功后将把聚点团券密码发到您手机，凭短信去商家消费。</span></td>
	                            </tr>
	                            <tr>
	                            	<td colspan="5"><input type="submit" class="buy_btn" value="确认无误购买"/></td>
	                            </tr>
	                        </table>
                        </form>
                    </div>
                </div>
                <div class="cont_down2"></div>
            </div>
            
            <s:include value="/page/home/footer.jsp" />
        </div>
    </div>
</div>
<script type="text/javascript">init();</script>
</body>
</html>
